package com.whw.fy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;

@ApiModel(value="com-whw-fy-entity-PlanSummarizeTable")
@Data
public class PlanSummarizeTable {
    /**
    * 训练计划id
    */
    @ApiModelProperty(value="训练计划id")
    private Integer planSummarizeTableId;

    /**
    * 领域类型id
    */
    @ApiModelProperty(value="领域类型id")
    private Integer planSummarizeTableAreaTypeId;

    /**
    * 教学项目
    */
    @ApiModelProperty(value="教学项目")
    private String planSummarizeTableTeachprogram;

    /**
    * 教学活动
    */
    @ApiModelProperty(value="教学活动")
    private String planSummarizeTableTeachactivity;

    /**
    * 完成标准
    */
    @ApiModelProperty(value="完成标准")
    private String planSummarizeTableFinishstandard;

    /**
    * 计划开始日期
    */
    @ApiModelProperty(value="计划开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date planSummarizeTableStarttime;

    /**
    * 计划完成日期
    */
    @ApiModelProperty(value="计划完成日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-d HH:mm:ss")
    private Date planSummarizeTableFinishtime;

    @Transient
    private String PlanSummarizeTableStarttimeToString;

    @Transient
    private String PlanSummarizeTableFinishtimeToString;
}